package com.kee.server.service;

import com.kee.server.pojo.RespBean;
import com.kee.server.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kee
 * @since 2021-03-22
 */
public interface IRoleService extends IService<Role> {

    List<Integer> getMidByRid(Integer rid);

    RespBean updateMenuRole(Integer rid, Integer[] mids);

    RespBean insertRole(String name, String nameZh);

    List<Role> roleList();

    RespBean deleteRoleByRid(Integer rid);
}
